<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
     <%@ include file="common.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<script type="text/javascript">
	$(document).ready(function() {
	
		$("input[name='itemName']").focus();
		$("#searchItemDetail").attr("action",'<c:url value="/availableStockReport.htm"></c:url>');
		createItemAutocomplete('itemName');
		});
</script>
<div>
<form method="post" action="" id="searchItemDetail" onsubmit="return false;">
	<table class="mainTable">
		<tr>
			<td>
				<label class="header2" for="itemName">Item Name</label>:
				<input id="itemName" name="itemName" Class="text ui-widget-content ui-corner-all"
					size="20" maxlength="50" />
			</td>
		</tr>
		<tr>
			<td>
				<input type="button" value="Search" onclick="saveEntity('searchItemDetail')">
			</td>
		</tr>	
	</table>
</form>
</div>